package org.budo.support.java.concurrent;

import java.util.concurrent.CountDownLatch;

/**
 * @author lmw
 */
public class CountDownLatchUtil {
    public static void await(CountDownLatch countDownLatch) {
        try {
            countDownLatch.await();
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
    }
}